"""
    Author: Chris
    Time  : 2019/12/5 18:44
    File  : settings.py
"""
#应用ID

APP_ID = '2016101600696641'

#是否是沙箱环境

DEBUG = True

#签名算法
SING = 'RSA2'

#网关
if DEBUG:
    GATEWAY = 'http://openapi.alipaydev.com/gateway.do?'
else:
    GATEWAY = 'http://openapi.alipay.com/gateway.do?'

#应用私钥:
APP_PRIVATE_KEY_STRING = '''-----BEGIN RSA PRIVATE KEY-----
MIIEogIBAAKCAQEA28xZOLiGfEGjzdZymUNFwAhfX4j14gB7APHgRT1nKVuyelrHej+txcZN3pS4sZMPOFJSMfPqK10fzpgr7Ws7gZAr/DNqvRcakFEnQkVrQ1Qbd8z761TLs2d4twhbgWJBlT+0DrWrkypf3ZFQQARU3K/0SQbSWE9adj3ezqwkVAkNycRIubi1/zD9yly59fVuXRtQr7aLN5SGHAq6pwnCFAQ8s9TLqvluHwbSa+DYf0cVI7TsQIwTG6yppuX6+V2a5q/dii58x0h9Sbh8n30zeoQbkupe+rfWgJJ+bm+34Xx+Wf0TM8kLjMvRZf1gaMaOQgrOTBgrUOsjUKwHH547TQIDAQABAoIBAHS+890W1ggF7XWVpEUX4GKBj/b0jnW+f5ce4lqkpLjpBcHLmgyq6igUjqPdJsTbMcheoV37CrSBwDVByoNO48qLw3Ev9k/9h5SEJnAi4zhd4kEd1elHnvLp0MqXW9M7V05pCcCOalW+ujC70H5QTqrxorVvNCbH72rCrifkc19We0GnGINDBq2rRcAZFcOn8ASMQo+z8Cs1QNSRs2FcYC+BZP8YuX+7Y8PYyrKlH7mfocqCqOMjAqcb8B1DFv/EjrM84FqZmv6IqXHG8KCp6bFvMh5Y0aWNHJxo6Y9roOKGZqeQ1HcniJmOInrp8q/T/14O7D/FtZXln+D5eA/eABkCgYEA/Q1PBFL9pqtsmAgVIZZPPihQtw4iXuhoB2bcMCJLBc+Gf8Qr1kmwDq3VMw/113Pyt3L4t+InkO92++62UtLWn6vqO6xFF20cMm3e6CHrYKBnzuIZPM3N13nGguM/vhdEDq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